Skip to content

Add missing details for packages in root rescript json #7771

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 15, 2025

Conversation

nojaf
Copy link
Member

@nojaf nojaf commented Aug 15, 2025

Monorepos with Rewatch work a little differently.

Certain settings will be taking from the root rescript.json and will no longer be provided by the package rescript.json.

"package-specs", "jsx" and "suffix" are part of these.

I copied these from the "@tests/gentype-react-example" and "playground" which will make them build correctly. I think this is a problem that is silently failing because the compiled code in case of the tests is present. And playground will probably only blow up at time of release.

Copy link

pkg-pr-new bot commented Aug 15, 2025

Open in StackBlitz

rescript

npm i https://pkg.pr.new/rescript-lang/rescript@7771

@rescript/darwin-arm64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/darwin-arm64@7771

@rescript/darwin-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/darwin-x64@7771

@rescript/linux-arm64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/linux-arm64@7771

@rescript/linux-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/linux-x64@7771

@rescript/win32-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/win32-x64@7771

commit: b563d07

@nojaf nojaf marked this pull request as ready for review August 15, 2025 07:34
@nojaf
Copy link
Member Author

nojaf commented Aug 15, 2025

@fhammerschmidt to be on the safe side, I would like to have this in before the next release as well.

@nojaf nojaf merged commit 4a4c689 into rescript-lang:master Aug 15, 2025
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants